package com.datang.litejvm;

/**
 * @author 顶风少年
 * @date 2022/6/17
 */
public class Calculate {

    private int a;
    private int b;

    public Calculate(int a, int b) {
        this.a = a;
        this.b = b;
    }

    public void calculate() {
        int c = a + b;
        System.out.println(c);
    }

    public static void main(String[] args) {
        Calculate calculate = new Calculate(1, 2);
        calculate.calculate();
    }
}
